package com.cloud.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UsersExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UsersExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("username is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("username is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("username =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("username <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("username >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("username >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("username <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("username <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("username like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("username not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("username in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("username not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("username between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("username not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNull() {
            addCriterion("password is null");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion("password is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion("password =", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion("password <>", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion("password >", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("password >=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion("password <", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion("password <=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLike(String value) {
            addCriterion("password like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotLike(String value) {
            addCriterion("password not like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordIn(List<String> values) {
            addCriterion("password in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotIn(List<String> values) {
            addCriterion("password not in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion("password between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion("password not between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andUserTypeIdIsNull() {
            addCriterion("user_type_id is null");
            return (Criteria) this;
        }

        public Criteria andUserTypeIdIsNotNull() {
            addCriterion("user_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserTypeIdEqualTo(Integer value) {
            addCriterion("user_type_id =", value, "userTypeId");
            return (Criteria) this;
        }

        public Criteria andUserTypeIdNotEqualTo(Integer value) {
            addCriterion("user_type_id <>", value, "userTypeId");
            return (Criteria) this;
        }

        public Criteria andUserTypeIdGreaterThan(Integer value) {
            addCriterion("user_type_id >", value, "userTypeId");
            return (Criteria) this;
        }

        public Criteria andUserTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_type_id >=", value, "userTypeId");
            return (Criteria) this;
        }

        public Criteria andUserTypeIdLessThan(Integer value) {
            addCriterion("user_type_id <", value, "userTypeId");
            return (Criteria) this;
        }

        public Criteria andUserTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_type_id <=", value, "userTypeId");
            return (Criteria) this;
        }

        public Criteria andUserTypeIdIn(List<Integer> values) {
            addCriterion("user_type_id in", values, "userTypeId");
            return (Criteria) this;
        }

        public Criteria andUserTypeIdNotIn(List<Integer> values) {
            addCriterion("user_type_id not in", values, "userTypeId");
            return (Criteria) this;
        }

        public Criteria andUserTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("user_type_id between", value1, value2, "userTypeId");
            return (Criteria) this;
        }

        public Criteria andUserTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_type_id not between", value1, value2, "userTypeId");
            return (Criteria) this;
        }

        public Criteria andPaywayTypeIdIsNull() {
            addCriterion("payway_type_id is null");
            return (Criteria) this;
        }

        public Criteria andPaywayTypeIdIsNotNull() {
            addCriterion("payway_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andPaywayTypeIdEqualTo(Integer value) {
            addCriterion("payway_type_id =", value, "paywayTypeId");
            return (Criteria) this;
        }

        public Criteria andPaywayTypeIdNotEqualTo(Integer value) {
            addCriterion("payway_type_id <>", value, "paywayTypeId");
            return (Criteria) this;
        }

        public Criteria andPaywayTypeIdGreaterThan(Integer value) {
            addCriterion("payway_type_id >", value, "paywayTypeId");
            return (Criteria) this;
        }

        public Criteria andPaywayTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("payway_type_id >=", value, "paywayTypeId");
            return (Criteria) this;
        }

        public Criteria andPaywayTypeIdLessThan(Integer value) {
            addCriterion("payway_type_id <", value, "paywayTypeId");
            return (Criteria) this;
        }

        public Criteria andPaywayTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("payway_type_id <=", value, "paywayTypeId");
            return (Criteria) this;
        }

        public Criteria andPaywayTypeIdIn(List<Integer> values) {
            addCriterion("payway_type_id in", values, "paywayTypeId");
            return (Criteria) this;
        }

        public Criteria andPaywayTypeIdNotIn(List<Integer> values) {
            addCriterion("payway_type_id not in", values, "paywayTypeId");
            return (Criteria) this;
        }

        public Criteria andPaywayTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("payway_type_id between", value1, value2, "paywayTypeId");
            return (Criteria) this;
        }

        public Criteria andPaywayTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("payway_type_id not between", value1, value2, "paywayTypeId");
            return (Criteria) this;
        }

        public Criteria andSalesmanIdIsNull() {
            addCriterion("salesman_id is null");
            return (Criteria) this;
        }

        public Criteria andSalesmanIdIsNotNull() {
            addCriterion("salesman_id is not null");
            return (Criteria) this;
        }

        public Criteria andSalesmanIdEqualTo(Integer value) {
            addCriterion("salesman_id =", value, "salesmanId");
            return (Criteria) this;
        }

        public Criteria andSalesmanIdNotEqualTo(Integer value) {
            addCriterion("salesman_id <>", value, "salesmanId");
            return (Criteria) this;
        }

        public Criteria andSalesmanIdGreaterThan(Integer value) {
            addCriterion("salesman_id >", value, "salesmanId");
            return (Criteria) this;
        }

        public Criteria andSalesmanIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("salesman_id >=", value, "salesmanId");
            return (Criteria) this;
        }

        public Criteria andSalesmanIdLessThan(Integer value) {
            addCriterion("salesman_id <", value, "salesmanId");
            return (Criteria) this;
        }

        public Criteria andSalesmanIdLessThanOrEqualTo(Integer value) {
            addCriterion("salesman_id <=", value, "salesmanId");
            return (Criteria) this;
        }

        public Criteria andSalesmanIdIn(List<Integer> values) {
            addCriterion("salesman_id in", values, "salesmanId");
            return (Criteria) this;
        }

        public Criteria andSalesmanIdNotIn(List<Integer> values) {
            addCriterion("salesman_id not in", values, "salesmanId");
            return (Criteria) this;
        }

        public Criteria andSalesmanIdBetween(Integer value1, Integer value2) {
            addCriterion("salesman_id between", value1, value2, "salesmanId");
            return (Criteria) this;
        }

        public Criteria andSalesmanIdNotBetween(Integer value1, Integer value2) {
            addCriterion("salesman_id not between", value1, value2, "salesmanId");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeIsNull() {
            addCriterion("register_time is null");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeIsNotNull() {
            addCriterion("register_time is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeEqualTo(Date value) {
            addCriterion("register_time =", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeNotEqualTo(Date value) {
            addCriterion("register_time <>", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeGreaterThan(Date value) {
            addCriterion("register_time >", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("register_time >=", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeLessThan(Date value) {
            addCriterion("register_time <", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeLessThanOrEqualTo(Date value) {
            addCriterion("register_time <=", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeIn(List<Date> values) {
            addCriterion("register_time in", values, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeNotIn(List<Date> values) {
            addCriterion("register_time not in", values, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeBetween(Date value1, Date value2) {
            addCriterion("register_time between", value1, value2, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeNotBetween(Date value1, Date value2) {
            addCriterion("register_time not between", value1, value2, "registerTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCertNameIsNull() {
            addCriterion("cert_name is null");
            return (Criteria) this;
        }

        public Criteria andCertNameIsNotNull() {
            addCriterion("cert_name is not null");
            return (Criteria) this;
        }

        public Criteria andCertNameEqualTo(String value) {
            addCriterion("cert_name =", value, "certName");
            return (Criteria) this;
        }

        public Criteria andCertNameNotEqualTo(String value) {
            addCriterion("cert_name <>", value, "certName");
            return (Criteria) this;
        }

        public Criteria andCertNameGreaterThan(String value) {
            addCriterion("cert_name >", value, "certName");
            return (Criteria) this;
        }

        public Criteria andCertNameGreaterThanOrEqualTo(String value) {
            addCriterion("cert_name >=", value, "certName");
            return (Criteria) this;
        }

        public Criteria andCertNameLessThan(String value) {
            addCriterion("cert_name <", value, "certName");
            return (Criteria) this;
        }

        public Criteria andCertNameLessThanOrEqualTo(String value) {
            addCriterion("cert_name <=", value, "certName");
            return (Criteria) this;
        }

        public Criteria andCertNameLike(String value) {
            addCriterion("cert_name like", value, "certName");
            return (Criteria) this;
        }

        public Criteria andCertNameNotLike(String value) {
            addCriterion("cert_name not like", value, "certName");
            return (Criteria) this;
        }

        public Criteria andCertNameIn(List<String> values) {
            addCriterion("cert_name in", values, "certName");
            return (Criteria) this;
        }

        public Criteria andCertNameNotIn(List<String> values) {
            addCriterion("cert_name not in", values, "certName");
            return (Criteria) this;
        }

        public Criteria andCertNameBetween(String value1, String value2) {
            addCriterion("cert_name between", value1, value2, "certName");
            return (Criteria) this;
        }

        public Criteria andCertNameNotBetween(String value1, String value2) {
            addCriterion("cert_name not between", value1, value2, "certName");
            return (Criteria) this;
        }

        public Criteria andCertNumberIsNull() {
            addCriterion("cert_number is null");
            return (Criteria) this;
        }

        public Criteria andCertNumberIsNotNull() {
            addCriterion("cert_number is not null");
            return (Criteria) this;
        }

        public Criteria andCertNumberEqualTo(String value) {
            addCriterion("cert_number =", value, "certNumber");
            return (Criteria) this;
        }

        public Criteria andCertNumberNotEqualTo(String value) {
            addCriterion("cert_number <>", value, "certNumber");
            return (Criteria) this;
        }

        public Criteria andCertNumberGreaterThan(String value) {
            addCriterion("cert_number >", value, "certNumber");
            return (Criteria) this;
        }

        public Criteria andCertNumberGreaterThanOrEqualTo(String value) {
            addCriterion("cert_number >=", value, "certNumber");
            return (Criteria) this;
        }

        public Criteria andCertNumberLessThan(String value) {
            addCriterion("cert_number <", value, "certNumber");
            return (Criteria) this;
        }

        public Criteria andCertNumberLessThanOrEqualTo(String value) {
            addCriterion("cert_number <=", value, "certNumber");
            return (Criteria) this;
        }

        public Criteria andCertNumberLike(String value) {
            addCriterion("cert_number like", value, "certNumber");
            return (Criteria) this;
        }

        public Criteria andCertNumberNotLike(String value) {
            addCriterion("cert_number not like", value, "certNumber");
            return (Criteria) this;
        }

        public Criteria andCertNumberIn(List<String> values) {
            addCriterion("cert_number in", values, "certNumber");
            return (Criteria) this;
        }

        public Criteria andCertNumberNotIn(List<String> values) {
            addCriterion("cert_number not in", values, "certNumber");
            return (Criteria) this;
        }

        public Criteria andCertNumberBetween(String value1, String value2) {
            addCriterion("cert_number between", value1, value2, "certNumber");
            return (Criteria) this;
        }

        public Criteria andCertNumberNotBetween(String value1, String value2) {
            addCriterion("cert_number not between", value1, value2, "certNumber");
            return (Criteria) this;
        }

        public Criteria andCropNameIsNull() {
            addCriterion("crop_name is null");
            return (Criteria) this;
        }

        public Criteria andCropNameIsNotNull() {
            addCriterion("crop_name is not null");
            return (Criteria) this;
        }

        public Criteria andCropNameEqualTo(String value) {
            addCriterion("crop_name =", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameNotEqualTo(String value) {
            addCriterion("crop_name <>", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameGreaterThan(String value) {
            addCriterion("crop_name >", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameGreaterThanOrEqualTo(String value) {
            addCriterion("crop_name >=", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameLessThan(String value) {
            addCriterion("crop_name <", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameLessThanOrEqualTo(String value) {
            addCriterion("crop_name <=", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameLike(String value) {
            addCriterion("crop_name like", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameNotLike(String value) {
            addCriterion("crop_name not like", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameIn(List<String> values) {
            addCriterion("crop_name in", values, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameNotIn(List<String> values) {
            addCriterion("crop_name not in", values, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameBetween(String value1, String value2) {
            addCriterion("crop_name between", value1, value2, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameNotBetween(String value1, String value2) {
            addCriterion("crop_name not between", value1, value2, "cropName");
            return (Criteria) this;
        }

        public Criteria andMemberClassIsNull() {
            addCriterion("member_class is null");
            return (Criteria) this;
        }

        public Criteria andMemberClassIsNotNull() {
            addCriterion("member_class is not null");
            return (Criteria) this;
        }

        public Criteria andMemberClassEqualTo(Integer value) {
            addCriterion("member_class =", value, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassNotEqualTo(Integer value) {
            addCriterion("member_class <>", value, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassGreaterThan(Integer value) {
            addCriterion("member_class >", value, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassGreaterThanOrEqualTo(Integer value) {
            addCriterion("member_class >=", value, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassLessThan(Integer value) {
            addCriterion("member_class <", value, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassLessThanOrEqualTo(Integer value) {
            addCriterion("member_class <=", value, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassIn(List<Integer> values) {
            addCriterion("member_class in", values, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassNotIn(List<Integer> values) {
            addCriterion("member_class not in", values, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassBetween(Integer value1, Integer value2) {
            addCriterion("member_class between", value1, value2, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassNotBetween(Integer value1, Integer value2) {
            addCriterion("member_class not between", value1, value2, "memberClass");
            return (Criteria) this;
        }

        public Criteria andCancelIsNull() {
            addCriterion("cancel is null");
            return (Criteria) this;
        }

        public Criteria andCancelIsNotNull() {
            addCriterion("cancel is not null");
            return (Criteria) this;
        }

        public Criteria andCancelEqualTo(String value) {
            addCriterion("cancel =", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelNotEqualTo(String value) {
            addCriterion("cancel <>", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelGreaterThan(String value) {
            addCriterion("cancel >", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelGreaterThanOrEqualTo(String value) {
            addCriterion("cancel >=", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelLessThan(String value) {
            addCriterion("cancel <", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelLessThanOrEqualTo(String value) {
            addCriterion("cancel <=", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelLike(String value) {
            addCriterion("cancel like", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelNotLike(String value) {
            addCriterion("cancel not like", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelIn(List<String> values) {
            addCriterion("cancel in", values, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelNotIn(List<String> values) {
            addCriterion("cancel not in", values, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelBetween(String value1, String value2) {
            addCriterion("cancel between", value1, value2, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelNotBetween(String value1, String value2) {
            addCriterion("cancel not between", value1, value2, "cancel");
            return (Criteria) this;
        }

        public Criteria andAdminIsNull() {
            addCriterion("admin is null");
            return (Criteria) this;
        }

        public Criteria andAdminIsNotNull() {
            addCriterion("admin is not null");
            return (Criteria) this;
        }

        public Criteria andAdminEqualTo(String value) {
            addCriterion("admin =", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminNotEqualTo(String value) {
            addCriterion("admin <>", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminGreaterThan(String value) {
            addCriterion("admin >", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminGreaterThanOrEqualTo(String value) {
            addCriterion("admin >=", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminLessThan(String value) {
            addCriterion("admin <", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminLessThanOrEqualTo(String value) {
            addCriterion("admin <=", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminLike(String value) {
            addCriterion("admin like", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminNotLike(String value) {
            addCriterion("admin not like", value, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminIn(List<String> values) {
            addCriterion("admin in", values, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminNotIn(List<String> values) {
            addCriterion("admin not in", values, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminBetween(String value1, String value2) {
            addCriterion("admin between", value1, value2, "admin");
            return (Criteria) this;
        }

        public Criteria andAdminNotBetween(String value1, String value2) {
            addCriterion("admin not between", value1, value2, "admin");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNull() {
            addCriterion("money is null");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNotNull() {
            addCriterion("money is not null");
            return (Criteria) this;
        }

        public Criteria andMoneyEqualTo(Double value) {
            addCriterion("money =", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotEqualTo(Double value) {
            addCriterion("money <>", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThan(Double value) {
            addCriterion("money >", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThanOrEqualTo(Double value) {
            addCriterion("money >=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThan(Double value) {
            addCriterion("money <", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThanOrEqualTo(Double value) {
            addCriterion("money <=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyIn(List<Double> values) {
            addCriterion("money in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotIn(List<Double> values) {
            addCriterion("money not in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyBetween(Double value1, Double value2) {
            addCriterion("money between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotBetween(Double value1, Double value2) {
            addCriterion("money not between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andIsgoldIsNull() {
            addCriterion("isgold is null");
            return (Criteria) this;
        }

        public Criteria andIsgoldIsNotNull() {
            addCriterion("isgold is not null");
            return (Criteria) this;
        }

        public Criteria andIsgoldEqualTo(Integer value) {
            addCriterion("isgold =", value, "isgold");
            return (Criteria) this;
        }

        public Criteria andIsgoldNotEqualTo(Integer value) {
            addCriterion("isgold <>", value, "isgold");
            return (Criteria) this;
        }

        public Criteria andIsgoldGreaterThan(Integer value) {
            addCriterion("isgold >", value, "isgold");
            return (Criteria) this;
        }

        public Criteria andIsgoldGreaterThanOrEqualTo(Integer value) {
            addCriterion("isgold >=", value, "isgold");
            return (Criteria) this;
        }

        public Criteria andIsgoldLessThan(Integer value) {
            addCriterion("isgold <", value, "isgold");
            return (Criteria) this;
        }

        public Criteria andIsgoldLessThanOrEqualTo(Integer value) {
            addCriterion("isgold <=", value, "isgold");
            return (Criteria) this;
        }

        public Criteria andIsgoldIn(List<Integer> values) {
            addCriterion("isgold in", values, "isgold");
            return (Criteria) this;
        }

        public Criteria andIsgoldNotIn(List<Integer> values) {
            addCriterion("isgold not in", values, "isgold");
            return (Criteria) this;
        }

        public Criteria andIsgoldBetween(Integer value1, Integer value2) {
            addCriterion("isgold between", value1, value2, "isgold");
            return (Criteria) this;
        }

        public Criteria andIsgoldNotBetween(Integer value1, Integer value2) {
            addCriterion("isgold not between", value1, value2, "isgold");
            return (Criteria) this;
        }

        public Criteria andInsideIsNull() {
            addCriterion("inside is null");
            return (Criteria) this;
        }

        public Criteria andInsideIsNotNull() {
            addCriterion("inside is not null");
            return (Criteria) this;
        }

        public Criteria andInsideEqualTo(String value) {
            addCriterion("inside =", value, "inside");
            return (Criteria) this;
        }

        public Criteria andInsideNotEqualTo(String value) {
            addCriterion("inside <>", value, "inside");
            return (Criteria) this;
        }

        public Criteria andInsideGreaterThan(String value) {
            addCriterion("inside >", value, "inside");
            return (Criteria) this;
        }

        public Criteria andInsideGreaterThanOrEqualTo(String value) {
            addCriterion("inside >=", value, "inside");
            return (Criteria) this;
        }

        public Criteria andInsideLessThan(String value) {
            addCriterion("inside <", value, "inside");
            return (Criteria) this;
        }

        public Criteria andInsideLessThanOrEqualTo(String value) {
            addCriterion("inside <=", value, "inside");
            return (Criteria) this;
        }

        public Criteria andInsideLike(String value) {
            addCriterion("inside like", value, "inside");
            return (Criteria) this;
        }

        public Criteria andInsideNotLike(String value) {
            addCriterion("inside not like", value, "inside");
            return (Criteria) this;
        }

        public Criteria andInsideIn(List<String> values) {
            addCriterion("inside in", values, "inside");
            return (Criteria) this;
        }

        public Criteria andInsideNotIn(List<String> values) {
            addCriterion("inside not in", values, "inside");
            return (Criteria) this;
        }

        public Criteria andInsideBetween(String value1, String value2) {
            addCriterion("inside between", value1, value2, "inside");
            return (Criteria) this;
        }

        public Criteria andInsideNotBetween(String value1, String value2) {
            addCriterion("inside not between", value1, value2, "inside");
            return (Criteria) this;
        }

        public Criteria andIsrechargeIsNull() {
            addCriterion("isrecharge is null");
            return (Criteria) this;
        }

        public Criteria andIsrechargeIsNotNull() {
            addCriterion("isrecharge is not null");
            return (Criteria) this;
        }

        public Criteria andIsrechargeEqualTo(Integer value) {
            addCriterion("isrecharge =", value, "isrecharge");
            return (Criteria) this;
        }

        public Criteria andIsrechargeNotEqualTo(Integer value) {
            addCriterion("isrecharge <>", value, "isrecharge");
            return (Criteria) this;
        }

        public Criteria andIsrechargeGreaterThan(Integer value) {
            addCriterion("isrecharge >", value, "isrecharge");
            return (Criteria) this;
        }

        public Criteria andIsrechargeGreaterThanOrEqualTo(Integer value) {
            addCriterion("isrecharge >=", value, "isrecharge");
            return (Criteria) this;
        }

        public Criteria andIsrechargeLessThan(Integer value) {
            addCriterion("isrecharge <", value, "isrecharge");
            return (Criteria) this;
        }

        public Criteria andIsrechargeLessThanOrEqualTo(Integer value) {
            addCriterion("isrecharge <=", value, "isrecharge");
            return (Criteria) this;
        }

        public Criteria andIsrechargeIn(List<Integer> values) {
            addCriterion("isrecharge in", values, "isrecharge");
            return (Criteria) this;
        }

        public Criteria andIsrechargeNotIn(List<Integer> values) {
            addCriterion("isrecharge not in", values, "isrecharge");
            return (Criteria) this;
        }

        public Criteria andIsrechargeBetween(Integer value1, Integer value2) {
            addCriterion("isrecharge between", value1, value2, "isrecharge");
            return (Criteria) this;
        }

        public Criteria andIsrechargeNotBetween(Integer value1, Integer value2) {
            addCriterion("isrecharge not between", value1, value2, "isrecharge");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}